﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200061B RID: 1563
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GCFFCCNLEMH : IMessage<GCFFCCNLEMH>, IMessage, IEquatable<GCFFCCNLEMH>, IDeepCloneable<GCFFCCNLEMH>, IBufferMessage
	{
		// Token: 0x1700144B RID: 5195
		// (get) Token: 0x060046C6 RID: 18118 RVA: 0x000C359C File Offset: 0x000C179C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GCFFCCNLEMH> Parser
		{
			get
			{
				return GCFFCCNLEMH._parser;
			}
		}

		// Token: 0x1700144C RID: 5196
		// (get) Token: 0x060046C7 RID: 18119 RVA: 0x000C35A3 File Offset: 0x000C17A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GCFFCCNLEMHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700144D RID: 5197
		// (get) Token: 0x060046C8 RID: 18120 RVA: 0x000C35B5 File Offset: 0x000C17B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GCFFCCNLEMH.Descriptor;
			}
		}

		// Token: 0x060046C9 RID: 18121 RVA: 0x000C35BC File Offset: 0x000C17BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GCFFCCNLEMH()
		{
		}

		// Token: 0x060046CA RID: 18122 RVA: 0x000C35C4 File Offset: 0x000C17C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GCFFCCNLEMH(GCFFCCNLEMH other) : this()
		{
			this.dialogueId_ = other.dialogueId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060046CB RID: 18123 RVA: 0x000C35E9 File Offset: 0x000C17E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GCFFCCNLEMH Clone()
		{
			return new GCFFCCNLEMH(this);
		}

		// Token: 0x1700144E RID: 5198
		// (get) Token: 0x060046CC RID: 18124 RVA: 0x000C35F1 File Offset: 0x000C17F1
		// (set) Token: 0x060046CD RID: 18125 RVA: 0x000C35F9 File Offset: 0x000C17F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DialogueId
		{
			get
			{
				return this.dialogueId_;
			}
			set
			{
				this.dialogueId_ = value;
			}
		}

		// Token: 0x060046CE RID: 18126 RVA: 0x000C3602 File Offset: 0x000C1802
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GCFFCCNLEMH);
		}

		// Token: 0x060046CF RID: 18127 RVA: 0x000C3610 File Offset: 0x000C1810
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GCFFCCNLEMH other)
		{
			return other != null && (other == this || (this.DialogueId == other.DialogueId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060046D0 RID: 18128 RVA: 0x000C3640 File Offset: 0x000C1840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DialogueId != 0U)
			{
				num ^= this.DialogueId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060046D1 RID: 18129 RVA: 0x000C367F File Offset: 0x000C187F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060046D2 RID: 18130 RVA: 0x000C3687 File Offset: 0x000C1887
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060046D3 RID: 18131 RVA: 0x000C3690 File Offset: 0x000C1890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DialogueId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.DialogueId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060046D4 RID: 18132 RVA: 0x000C36C4 File Offset: 0x000C18C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DialogueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DialogueId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060046D5 RID: 18133 RVA: 0x000C3702 File Offset: 0x000C1902
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GCFFCCNLEMH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DialogueId != 0U)
			{
				this.DialogueId = other.DialogueId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060046D6 RID: 18134 RVA: 0x000C3733 File Offset: 0x000C1933
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060046D7 RID: 18135 RVA: 0x000C373C File Offset: 0x000C193C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.DialogueId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001C25 RID: 7205
		private static readonly MessageParser<GCFFCCNLEMH> _parser = new MessageParser<GCFFCCNLEMH>(() => new GCFFCCNLEMH());

		// Token: 0x04001C26 RID: 7206
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001C27 RID: 7207
		public const int DialogueIdFieldNumber = 9;

		// Token: 0x04001C28 RID: 7208
		private uint dialogueId_;
	}
}
